package com.example.fbsmobile;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.TextView;

public class BookingBetailsActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_booking_betails);
		Intent intent =getIntent();
		String data=intent.getDataString();
		if
		Bundle extras=getIntent().getExtras();
		String  []values=extras.getStringArray("list");
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1,values);
	/*	setListAdapter(adapter);*/
		
	
		Button button = (Button)findViewById(R.id.button1);
		button.setOnClickListener(new OnClickListener() {
			/*   
			 @Override
			 public void listview = (ListView)findViewById(R.id.listView1);
				listview.setText("");    
			   }
			  });*/
			
		}
		   

	
	
}
